/* ===== CSS VARIABLES ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #1d3557;
  --light: #ffffff;
  --gray: #555;
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap");
@import url("extra.css");

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #1d3557;
  /* fallback instead of var */
  overflow-x: hidden;
  overflow-y:hidden;
  line-height: 1.6;
}

/* ✅ Container for layouts */
.container {
  width: 100%;
  max-width: 1200px;
  /* keeps layout centered on big screens */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* prevents overflow on smaller screens */
}

/* ===========================
   ✅ RESPONSIVE DESIGN
=========================== */

/* Medium devices (tablets & small laptops) */
@media (max-width: 992px) {
  .container {
    max-width: 90%;
    padding: 0 15px;
  }
}

/* Small devices (large mobiles & tablets portrait) */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    /* stack items vertically */
    align-items: flex-start;
    padding: 0 15px;
  }
}

/* Extra small devices (small mobiles) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  body {
    font-size: 14px;
    /* adjust text for small screens */
  }
}
/* ===== NAVIGATION ===== */
/* Navbar Base */
.navbar {
  background-color: #ffffff;
  color: #1d3557;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-container img {
  height: 60px;
  width: auto;
}

.logo-container h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1d3557;
  margin-top: -13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Segoe UI", sans-serif;
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #1d3557;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 25px;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
  background-color: #e9f1fa;
  color: #0a2540;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #1d3557;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li a:hover {
  background-color: #e9f1fa;
}

/* Button */
.app-btn {
  background: linear-gradient(135deg, #1d3557, #457b9d);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.app-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(29, 53, 87, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: #1d3557;
  padding: 8px;
  z-index: 1100;
}

/* ======= RESPONSIVE ======= */

/* Tablets */
@media (max-width: 992px) {
  .nav {
    gap: 10px;
  }

  .app-btn {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    padding: 20px;
    gap: 15px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 12px;
    display: block;
  }

  /* Dropdown in mobile */
  .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: none;
  }

  .dropdown-menu.active {
    display: flex;
  }

  .dropdown-menu li a {
    padding: 15px 20px; /* Increase padding for better touch targets */
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .app-btn {
    width: 100%;
    text-align: center;
  }
}

/* Desktop dropdown hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  .logo-container img {
    height: 45px;
  }

  .logo-container h3 {
    font-size: 14px;
  }

  .app-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  padding: 0 20px;
  margin-top: 80px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.hero-left h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 30px;
  min-height: 100px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  min-width: 150px;
}

.apply-btn {
  background-color: #1d4ed8;
  color: white;
  border: 2px solid #1d4ed8;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background-color: white;
  color: #1d4ed8;
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.4);
}

.readmore-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.readmore-btn:hover {
  background-color: white;
  color: var(--primary);
}

.hero-right {
  flex: 1;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.loan-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

.loan-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.loan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.25);
}

/* ===== LOAN GALLERY ===== */
.loan-gallery {
  padding: 60px 20px;
  background-color: #94a3b8;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #005ea3;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.loan-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #f5f5f5;
  transition: transform 0.3s ease;
}

.loan-card:hover img {
  transform: scale(1.05);
}

.loan-card h3 {
  font-size: 1rem;
  color: #0a5ea7;
  font-weight: 600;
  text-align: center;
}

.loan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 94, 163, 0.2);
  background-color: #eef6fc;
}

/* ===== BENEFIT CARDS ===== */
.benefit-cards {
  background: #fff;
  padding: 30px 10px;
}

.section-heading {
  max-width: 1200px;
  margin: 0 auto 28px auto;
  padding: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0;
}

.benefit-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  gap: 20px;
  justify-content: space-between;
}

.benefit-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 10px 15px;
  width: calc(25% - 16px);
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
  background-color: #1d4ed8;
  color: white;
  border: 1px solid #1d4ed8;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover h3,
.benefit-item:hover p,
.benefit-item:hover i {
  color: white;
}

.benefit-item i {
  font-size: 36px;
  color: #1d4ed8;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.benefit-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 90px 20px;
  margin: 0;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: -71px;
}

.about-images {
  flex: 1 1 45%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  margin-top: -98px;
  margin-left: -28px;
}

.section-label {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 2px;
  color: white;
  background-color: #2563eb;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out forwards;
}

.img-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.img1,
.img2 {
  width: 48%;
}

.about-images {
  position: relative;
}

.img3 {
  position: absolute;
  top: 194px;
  left: 75%;
  transform: translateX(-50%);
  width: 107%;
  max-width: 279px;
  height: 350px;
  object-fit: cover;
  z-index: 2;
}

.years-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #2563eb;
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  width: 160px;
}

.years-box .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.about-content {
  flex: 1 1 45%;
}

.about-content h2 {
  font-size: 30px;
  line-height: 1.4;
}

.highlight {
  color: #2563eb;
}

.about-desc {
  font-size: 15px;
  margin-bottom: 20px;
  color: #555;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.point .icon {
  font-size: 22px;
  background: #2563eb;
  padding: 8px;
  border-radius: 50%;
}

.point h4 {
  font-size: 17px;
  margin-bottom: 5px;
}

.quote-box {
  background: #2563eb;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  color: white;
  margin-bottom: 25px;
  position: relative;
}

#counter {
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #0f7a91;
}

.about-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-blue {
  background-color: #1d4ed8;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn-blue:hover {
  background-color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.call-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-info span {
  font-size: 20px;
}

.call-info p {
  font-size: 14px;
  line-height: 1.4;
}

/* ===== CORE SECTION ===== */
.core-section {
  padding: 80px 20px;
  text-align: center;
}

.core-top h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1d4ed8;
  text-align: center;
}

.core-top h4 {
  font-size: 18px;
  color: #111827;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-align: center;
}

.core-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.creative-card {
  position: relative;
  width: 300px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  cursor: pointer;
  height: 300px;
}

.more-btn {
  background-color: #ffffff;
  color: #1d4ed8;
  border: 2px solid #1d4ed8;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.more-btn:hover {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.creative-card:hover {
  transform: translateY(-10px);
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  background-color: royalblue;
  padding: 15px 15px;
  border-top: 1px solid #e5e7eb;
}

.card-hover {
  position: absolute;
  bottom: -100%;
  backdrop-filter: blur(10px);
  left: 0;
  width: 100%;
  background: #b4bedba3;
  color: white;
  padding: 20px;
  transition: bottom 0.4s ease;
  border-top: 2px solid white;
  text-align: left;
}

.creative-card:hover .card-hover {
  bottom: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 141px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.stat-card {
  position: relative;
  background-color: #2563eb;
  color: white;
  width: 200px;
  padding: 30px 20px;
  text-align: center;
  font-family: sans-serif;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: 10px;
  background-color: var(--primary-dark);
}

.stat-card::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 10px;
  height: 60px;
  background-color: var(--primary-dark);
}

.stat-card i {
  font-size: 30px;
  margin-bottom: 12px;
  color: white;
}

.stat-card h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 5px;
  color: var(--light);
}

.stat-card p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cbd5e1;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 20px;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.features-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.features-content {
  flex: 1 1 400px;
}

.features-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--dark);
}

.features-content p {
  color: #334155;
  margin-bottom: 30px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.feature-item:hover {
  background-color: var(--primary);
}

.feature-item:hover .feature-text h3,
.feature-item:hover .feature-text p {
  color: #ffffff;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: white;
  font-size: 1.5rem;
}

.feature-text h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-text p {
  margin-bottom: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.features-animation {
  flex: 1 1 400px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.image-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 16px;
}

.slider-image.active {
  opacity: 1;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 49px;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #ebf4ff, #fff);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.service-icon {
  font-size: 40px;
  color: #2563eb;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover .service-icon {
  color: #1d4ed8;
}

.service-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1d3557;
  text-align: center;
}

.service-content p {
  color: #444;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.more-text {
  display: none;
}

.service-card.expanded .more-text {
  display: inline;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background: #2563eb;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== WEALTH SECTION ===== */
.wealth-section {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
}

.wealth-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--dark);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  flex: 1 1 260px;
  max-width: 280px;
  text-align: left;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--dark);
  transition: color 0.3s ease;
  text-align: center;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
  transition: color 0.3s ease;
  text-align: center;
}

.card:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-8px);
  color: white;
}

.card:hover h4,
.card:hover p {
  color: white;
}

.card:hover .card-btn {
  background-color: white;
  color: var(--primary-dark);
  border-color: white;
}

.card:hover .card-btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 100px 20px;
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  font-family: serif;
  color: #e2e8f0;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 25px;
  color: #475569;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--dark);
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  background-color: #2563eb;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 150, 0.1);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  padding-bottom: 30px;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #4a6bff 0%, #8e54e9 100%);
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-right {
  flex: 1.2;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  color: white;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: white;
}

.contact-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 90%;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.contact-info {
  position: relative;
  z-index: 2;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 1.8rem;
  margin-right: 20px;
  color: #ffd166;
}

.info-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-content p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  color: white;
}

.info-cont h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-cont a {
  color: #fff;
  text-decoration: none;
}

.info-cont a:hover {
  text-decoration: underline;
}

.info-cont p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  color: white;
}

.social-icons {
  display: flex;
  margin-top: 40px;
  gap: 15px;
  color:black;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: #f0f4f8;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-control:focus {
  outline: none;
  border-color: #4a6bff;
  background: white;
  box-shadow: 0 5px 15px rgba(74, 107, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 1.1rem;
  color: #777;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control:focus+.form-label,
.form-control:not(:placeholder-shown)+.form-label {
  top: -12px;
  left: 15px;
  font-size: 0.9rem;
  background: white;
  padding: 0 8px;
  color: #4a6bff;
}

.submit-btn {
  background: linear-gradient(to right, #4a6bff, #8e54e9);
  color: white;
  border: none;
  padding: 18px;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 107, 255, 0.6);
}

.submit-btn:active {
  transform: translateY(0);
}

.decoration {
  position: absolute;
  opacity: 0.1;
  z-index: 1;
}

.circle1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: white;
  top: -100px;
  right: -100px;
}

.circle2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  bottom: -80px;
  left: -80px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid white;
  top: 50%;
  left: -50px;
  transform: rotate(45deg);
}

.confirmation-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4bb543;
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.confirmation-message.show {
  transform: translateX(0);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--light);
  font-family: 'Segoe UI', sans-serif;
  padding: 60px 20px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-box h3 {
  color: var(--light);
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul li a {
  color: var(--light);
  text-decoration: none;
}

.footer-box ul li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-logo-box p {
  font-size: 14px;
  line-height: 1.6;
  margin: 15px 0;
}

.footer-logo {
  width: 180px;
  margin-bottom: -52px;
  margin-top: -45px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: var(--light);
  text-align: center;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color:black;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE STYLES ===== */


@media (max-width: 1200px) {
  .benefit-item {
    width: calc(25% - 15px);
  }

  .stats-section {
    gap: 80px;
  }
}

@media (max-width: 992px) {
  .features-container {
    flex-direction: column;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .hero-left h1 {
    font-size: 2.5rem;
    min-height: auto;
  }

  .loan-cards {
    max-height: none;
    overflow: visible;
  }

  .benefit-item {
    width: calc(33.333% - 13.5px);
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .about-images {
    flex: 1 1 100%;
    margin-top: 0;
  }

  .about-content {
    flex: 1 1 100%;
    margin-top: 30px;
  }

  .btn-blue {
    padding: 10px 20px;
    font-size: 14px;
  }

  .core-content {
    flex-direction: column;
    align-items: center;
  }

  .creative-card {
    width: 90%;
  }

  .call-info {
    flex-direction: column;
  }

  .stats-section {
    gap: 40px;
    justify-content: space-around;
  }

  .stat-card {
    width: 180px;
    padding: 20px 15px;
  }

  .stat-card h2 {
    font-size: 28px;
  }

  .stat-card p {
    font-size: 12px;
  }

  .features-container {
    gap: 30px;
    justify-content: center;
  }

  .features-content {
    flex: 1 1 350px;
  }

  .features-animation {
    flex: 1 1 100%;
    height: 400px;
  }
}

@media (max-width: 768px) {

  .hero-left h1 {
    font-size: 2rem;
  }

  .loan-card {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .benefit-item {
    width: calc(50% - 10px);
    padding: 30px 15px;
  }

  .section-heading {
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .core-section {
    padding: 60px 15px;
  }

  .creative-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .call-info {
    align-items: flex-start;
  }

  .stats-section {
    gap: 20px;
    justify-content: center;
  }

  .stat-card {
    width: 160px;
    padding: 15px 10px;
  }

  .stat-card h2 {
    font-size: 24px;
  }

  .stat-card p {
    font-size: 11px;
  }

  .stat-card i {
    font-size: 24px;
  }

  .features {
    padding: 80px 15px;
  }

  .features-container {
    flex-direction: column;
    gap: 40px;
  }

  .features-content {
    text-align: center;
  }

  .features-content h2 {
    font-size: 2rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .feature-text h3 {
    font-size: 1rem;
  }

  .feature-text p {
    font-size: 0.8rem;
  }

  .features-animation {
    height: 350px;
  }

  .services {
    padding: 60px 15px;
  }

  .services-grid {
    gap: 30px;
  }

  .service-card {
    padding: 20px;
  }

  .service-icon {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .service-content p {
    font-size: 14px;
  }

  .wealth-section {
    padding: 50px 10px;
  }

  .card {
    padding: 20px 15px;
    flex: 1 1 100%;
  }

  .card h4 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .testimonials {
    padding: 80px 15px;
  }

  .testimonial-grid {
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
    text-align: center;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: center;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .author-info h4 {
    font-size: 1rem;
  }

  .author-info p {
    font-size: 0.8rem;
  }

  .testimonial-content {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    padding: 40px 25px;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .btn {
    display: block;
    margin: 15px auto;
    width: 80%;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .benefit-item {
    width: 100%;
  }

  .benefit-item h3 {
    font-size: 1rem;
  }

  .benefit-item p {
    font-size: 0.85rem;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .quote-box {
    font-size: 12px;
  }

  .about-desc {
    font-size: 14px;
  }

  .point .icon {
    font-size: 20px;
  }

  .about-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-section {
    gap: 15px;
    padding: 40px 10px;
  }

  .stat-card {
    width: 140px;
    padding: 12px 8px;
  }

  .stat-card h2 {
    font-size: 20px;
  }

  .stat-card p {
    font-size: 10px;
  }

  .stat-card i {
    font-size: 20px;
  }

  .features {
    padding: 60px 10px;
  }

  .features-content h2 {
    font-size: 1.8rem;
  }

  .feature-list {
    gap: 15px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .feature-text h3 {
    font-size: 0.9rem;
  }

  .feature-text p {
    font-size: 0.7rem;
  }

  .features-animation {
    height: 300px;
  }

  .testimonial-grid {
    gap: 15px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .author-info h4 {
    font-size: 0.9rem;
  }

  .author-info p {
    font-size: 0.7rem;
  }

  .testimonial-content {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
}